﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using bdxyit.com.RecruitmentAppSys.IDAL;
using bdxyit.com.RecruitmentAppSys.DALFactory;
using bdxyit.com.RecruitmentAppSys.Models;
using bdxyit.com.RecruitmentAppSys.ViewModels;

namespace bdxyit.com.RecruitmentAppSys.BLL
{
    public class AreaListBLL
    {
        private static readonly IAreaListDAL AreaListDal = DataAccess.CreateAreaList();
        public static List<AreaList> SelectAreaList()
        {
            return AreaListDal.SelectAreaList();
        }
        public static AreaList SelectAreaListByAreaID(string AreaID)
        {
            return AreaListDal.SelectAreaListByAreaID(AreaID);
        }
        public static bool DeleteAreaListByAreaID(string AreaID)
        {
            return AreaListDal.DeleteAreaList(AreaID);
        }
        public static bool InsertAreaList(AreaList cmodel)
        {
            return AreaListDal.InsertAreaList(cmodel);
        }
        public static bool UpdateAreaList(AreaList cmodel)
        {
            return AreaListDal.UpdateAreaList(cmodel);
        }


    }
}
